package com.yjc.blog.service;

import com.yjc.blog.domain.bo.EBookDao;
import com.yjc.blog.domain.bo.EbookSave;
import com.yjc.blog.domain.po.Ebook;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yjc.blog.domain.vo.EBookVO;
import com.yjc.blog.domain.vo.PageVO;

/**
 * <p>
 * 电子书 服务类
 * </p>
 *
 * @author yjc
 * @since 2024-10-27
 */
public interface IEbookService extends IService<Ebook> {
    /**
     * 返回所有电子书合集
     *
     * @return
     */
    public PageVO<EBookVO> listAll();


    PageVO<EBookVO> getByDao(EBookDao bookDao);

    void save(EbookSave save);

    void delete(Long id);

}
